﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bluyel.Core
{
    /// <summary>
    /// Manager of ListDatNamed.
    /// </summary>
    public class ListDataMgr
    {
        List<ListData> _list = new List<ListData>();

        /// <summary>
        /// Constructor.
        /// </summary>
        public ListDataMgr()
        {
        }

        public bool Add(ListData list)
        {
            if (list == null)
                return false;

            // check that the list name is not already used
            // TODO:

            _list.Add(list);
            return true;
        }
    }
}
